import React, { Component } from 'react';
import { LoadingOutlined, PlusOutlined, CloseCircleOutlined } from '@ant-design/icons';
import BaseInfo from './component/Edit';
import '@src/style/product.scss';
export default class EditProduct extends Component {
    state ={
        id:""
    }

    UNSAFE_componentWillMount=()=>{
        let {id} =this.props.location.state
        this.setState({id:id})
    }
    render() {
        return (
            <BaseInfo
                id={this.state.id}
            />
        )
    }
}